package com.view.cn.mvprxjava.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.view.cn.mvprxjava.R;
import com.view.cn.mvprxjava.view.PathView;

/**
 * 自定义view
 * Created by Administrator on 2016/9/29 0013.
 */
public class PathViewFragment extends BaseFragment {


	public static final String TAG = PathViewFragment.class.getSimpleName();

	private PathView mPathView;

	public static PathViewFragment newInstance() {
		PathViewFragment fragment = new PathViewFragment();
		return fragment;
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Nullable
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_pathview, container, false);
		initView(view);
		return view;
	}


	private void initView(View view) {
		mPathView = (PathView) view.findViewById(R.id.pathView);
	}



}
